<div class="layui-body">
    <!-- 主体区域开始 -->
    <!--当前位置开始-->
    <div class="layui-card layadmin-header">
        <span class="layui-breadcrumb">
            <a href="{:url('Index/index')}">系统</a>
            <a href="{:url('Admin/index')}">运营管理</a>
            <a><cite>修改</cite></a>
        </span>
    </div>
    <!--当前位置结束-->
    <div class="layui-row">
        <div id="head">
            <div class="layui-row">
                <div class="layui-col-md2 layui-col-md-offset10" id="head-right">
                    <a href="{:url('Admin/index')}" class="layui-btn layui-btn-normal" title="返回列表">返回列表</a>
                </div>
            </div>
        </div>
        <div id="main">
            <form class="layui-form">
                <input type="hidden" name="id" value="{$data.id}">
                <div class="layui-form-item">
                    <label class="layui-form-label">姓名</label>
                    <div class="layui-input-block">
                        <input type="text" name="name" value="{$data.name}" required lay-verify="required" lay-reqText="请输入姓名"
                               placeholder="请输入姓名"
                               autocomplete="off" class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">密码</label>
                    <div class="layui-input-block">
                        <input type="text" name="pass" placeholder="修改密码时需填写"
                               autocomplete="off" class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">账户类型</label>
                    <div class="layui-input-block">
                        <input type="radio" name="type" value="0" title="普通" {$data.type == 0 ?="checked"}>
                        <input type="radio" name="type" value="1" title="管理员" {$data.type == 1 ?="checked"}>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">账户状态</label>
                    <div class="layui-input-block">
                        <input type="radio" name="status" value="1" title="正常" {$data.status == 1 ?="checked"}>
                        <input type="radio" name="status" value="0" title="冻结" {$data.status == 0 ?="checked"}>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-input-block">
                        <input type="hidden" name="request_url" value="{:url('Admin/data_save')}">
                        <button class="layui-btn" lay-submit lay-filter="*">保存</button>
                        <button type="reset" class="layui-btn layui-btn-primary">重置</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
    <!--主体区域结束-->
</div>